<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ include file="/common/common.jsp"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/pub/message/";  //应用的地址名
String listActionName = basePath+"PubMessage.action?op=searchjs";
%>
<script type="text/javascript">
    		$(function(){
			//表格初始化
			$('#searchTable').grid({
				//title:'<div style="text-align:center;font-size:17">短消息</div>',
				url:'<%=listActionName%>',
				queryParams:{"search.receiveUser":"<%=request.getParameter("receiveUser") %>","search.sendUser":"<%=request.getParameter("sendUser") %>"},  //用于查询的参数以及初始值
				//数据列，根据显示的内容进行修改
				columns:[[   
						{field:'sendUserName',title:'发送人',width:80,editor:'text'},
						{field:'receiveUserName',title:'接收人',width:80,editor:'text'},
						{field:'dtTime',title:'发送时间',width:150,sortable:true,editor:'text'},
						{field:'vcContent',title:'短消息内容',width:300,editor:'text'}
				]]
			});
		});	
    
    </script>
<html>
  <head>
    <base href="<%=basePath%>"></base>
    <title><%=com.ce.util.RegeditUtil.getRegeditStringValue("SYSTEM_SEG_NAME") %></title>
  </head> 
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >

<div id="searchTable">
</div>
</body>
</html>
   
   

